<template>

  <div >
   
    <template >
      <van-field :readonly="itemdata.sEditable==='false'" size="large" placeholder="请输入" :id="index + '_' + itemdata.sField" clearable v-model="itemdata.value" :label="itemdata.sTitle" :error-message="itemdata.errormsg" />
    </template>
    <!-- <template v-else>
      <van-cell  :title="itemdata.sTitle">
        <template #default>
          <div v-html="itemdata.value"></div>
        </template>
      </van-cell>
    </template> -->
  </div>
</template>
<script>
export default {
  props: {
    itemdata: {
      type: Object,
      required: false
    },
    ishead: {
      type: Boolean,
      default: false
    },
    index: {
      type: Number,
      required: false
    }
  }
}
</script>
